package com.purang.pms.aroutertest;

import android.app.Application;
import android.os.Build;

import com.alibaba.android.arouter.launcher.ARouter;

public class MyApplication extends Application {
    @Override
    public void onCreate() {
        super.onCreate();
        // Init ARouter
        if (BuildConfig.DEBUG) {
            // Should set log and debug before init
            ARouter.openLog();
            ARouter.openDebug();
        }
        ARouter.init(this); // 尽可能早，推荐在Application中初始化
    }
}
